stset count, fail(civilwar) id(newid)
**Cox Models with different types of shocks**
*Table 1, Model 1*
stcox  recession wardefeat deathinoffice coldwar_new ethpol gdpln popln, robust 
*Table 1, Model 2*
stcox  newshock1 ethpol gdpln popln, robust 

** Cox Models with Interactions**
*Table 2, Model 1*
stcox newshock1    w opposition popln ethpol gdpln , robust 
*Table 2, Model 2*
stcox newshock1  newshock1_w  w opposition popln ethpol gdpln , robust 
*Table 2, Model 3*
stcox newshock1  newshock1_opp opposition w popln ethpol gdpln  , robust 
